<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%String path = request.getContextPath() ;%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %> 
<%@ taglib uri="/WEB-INF/tld/ui.tld" prefix="ui" %>
<%@ taglib uri="/WEB-INF/tld/fmt.tld" prefix="fmt" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
 <meta name="renderer" content="webkit">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>合格证信息</title>
<jsp:include page="../../import.jsp" flush="true" />
</head>
<body class="iframeBody">
 <div class="Wrapper">
           <div id="pageInTab" class="pageInTab">
                <form id="prj_prd_veh_info_form">
                    <div class="fieldset1 tabel_col clearFix">
                            <div class="fieldBox col_33">
                                <div class="label">合格证型号
                                </div>
                                <div class="field">
                                      <span><a class="link" style="cursor: pointer;" href="javascript:void(0);" onclick="detailHGZBtn('${veh.id}','${prjPrdDtl.id}');">${veh.prdMdl}</a></span>
                                </div>
                            </div>
                            <div class="fieldBox col_33">
                                <div class="label">GPS卡号1
                                </div>
                                <div class="field">
                                    <span>${prjPrdDtl.gpsCardNo}</span>
                                </div>
                            </div>
                            <div class="fieldBox col_33">
                                <div class="label">GPS卡号2
                                </div>
                                <div class="field">
                                    <span>${prjPrdDtl.gpsCardNo2}</span>
                                </div>
                            </div>
                            <div class="fieldBox col_100">
                                <div class="label">上牌时间
                                </div>
                                <div class="field">
                                    <span><fmt:formatDate value="${lic.licDt}" pattern="yyyy-MM-dd" /></span>
                                </div>
                            </div>
                            <div class="fieldBox col_100">
                                <div class="label">上牌机构
                                </div>
                                <div class="field">
                                    <span>${lic.licOrgId}</span>
                                </div>
                            </div>
                            <div class="fieldBox col_50">
                                <div class="label">车牌号
                                </div>
                                <div class="field">
                                    <span>${lic.vehNo}</span>
                                </div>
                            </div>
                            <div class="fieldBox col_50">
                                <div class="label">车架号
                                </div>
                                <div class="field">
                                    <span>${lic.vin}</span>
                                </div>
                            </div>
                            <div class="fieldBox col_50">
                                <div class="label">登记编号
                                </div>
                                <div class="field">
                                    <span><a class="link" style="cursor: pointer;" href="javascript:void(0);" onclick="detailDYBtn('${mtg.id}','${prjPrdDtl.id}');">${mtg.recNo}</a></span>
                                </div>
                            </div>
                            <!-- 产品明细 -->
                            <!-- project/vehicle/toModifyPage.do?id=180823815000725&&prjId=180823814000736&&detailFlag=true -->
                            <iframe src="<%=path%>/project/vehicle/toModifyPage.do?id=${prjPrdDtl.prjPrdId}&&prjId=${prjPrdDtl.prjId}&&detailFlag=true" style="width:100%;height:500px;border:0px">

                            </iframe>
                    </div>
                </form>
            </div>
	</div>

<script type="text/javascript">
function detailHGZBtn(id,dtlId){
	var detailFlag = true;
	Add_navTab( 'tab_prj_prd_veh_info_detail'+id,'合格证详情','<%=path%>/project/prjprdvehinfo/toDetailPage.do?detailFlag='+detailFlag+'&&id='+id+'&&dtlId='+dtlId);
}
function detailDYBtn(id,dtlId){
	var detailFlag = true;
	Add_navTab( 'tab_prj_prd_veh_mtg_detail'+id,'抵押详情','<%=path%>/project/prjprdmtg/toAddPage.do?detailFlag='+detailFlag+'&&id='+id+'&&dtlId='+dtlId);
}
</script>
</body>
</html>